package cn.iocoder.yudao.module.jikong.controller.app.jkProduct.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 疾控产品表新增/修改 Request VO")
@Data
public class JkProductSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28845")
    private Long id;

    @Schema(description = "样本产品id", example = "11740")
    private String productId;

    @Schema(description = "样本产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "样本产品名称不能为空")
    private String name;

    @Schema(description = "样本产品分类", example = "18107")
    private Long typeId;

    @Schema(description = "启用状态", example = "2")
    private Integer status;

    @Schema(description = "产品图片")
    private String picture;

    @Schema(description = "产品详情")
    private String detail;

}
